<?php
namespace app\index\controller;

use think\Controller;

class Contact extends Common
{
    public function _initialize()
    {
        parent::_initialize();
        $this->assign('active', '联系我们');
        $url = '/contact';
        $this->assign('nav_image', get_nav_img($url));
    }

    // 联系我们页面
    public function index() {
        $lxwm = db('page')->where('make', 'lxwm')->find();
        $this->assign('lxwm', $lxwm);
        return view();
    }
}
